package com.farewell.blog.mapper;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.baomidou.mybatisplus.plugins.Page;
import com.farewell.blog.pojo.Type;

import java.util.List;

/**
 * @author Farewell
 * @date 2021/2/7
 */
public interface TypeMapper extends BaseMapper<Type> {
    /**
     * 条件查询分页type对象
     *
     * @param page 分页对象
     * @return Type对象
     */
    List<Type> listType(Page<Type> page);
}
